PopupWindowState

constructor(browser: Browser, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: CoroutineScope)

Parameters

browser

The popup browser.

bounds

The initial bounds of the popup.

scope

The coroutine scope used to update Compose observables.

onClose

A callback to be called when the popup is closed.